<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>

<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<link href="<%=path%>/pattern/cm/css/list_public.css"
			type="text/css" rel="stylesheet" />
		<link rel="stylesheet" type="text/css"
			href="<%=path%>/pattern/flexigrid/css/flexigrid/flexigrid.css">
		<script type="text/javascript"
			src="<%=path%>/pattern/jquery-ui-1.7.1.custom/js/jquery-1.3.2.min.js"></script>
		<script type="text/javascript"
			src="<%=path%>/pattern/flexigrid/flexigrid.js"></script>
		<script src="<%=path%>/pattern/cm/js/list_public.js"
			language="javascript" type="text/javascript"></script>
		<title>无标题文档</title>
	</head>
	<body>

		<div id="layout">
			<div class="title">
				连接控制子系统管理
			</div>
			<div class="handle">
				<div class="add"
					onclick="window.location.href='<%=path%>/ljkzzxt/add.action'">
					添加
				</div>
				<div class="line"></div>
				
				<div class="search_btn" onclick="display_search()"></div>
				<div class="clear"></div>
			</div>
			<div class="handle" id="search" style="display: none">
				<table width="98%" border="0" cellspacing="0" cellpadding="0"
					align="center">
					<tr>
						<td width="86%">
							<div id="search1" style="display: ">
								<form action="<%=path%>/input/jcd/jcdList.do" method="post">
									<div class="search_input">
										请输入查询条件 ：
										<input style="width: 200px; height: 12px;" type="text" name="condition"/>
									</div>
									<div class="search_input">
										<input type="hidden" name="type" value="find_like">
										<input type="submit" style="width: 50px; height: 20px;" value="查询" />
									</div>
								</form>
							</div>
						</td>
					</tr>
				</table>
			</div>
			<div class="list" id="list">
				<form name="data" method="post">
					<table class="flexme1">
						<thead>
							<tr>
								<th width="40">
									标记
								</th>
								<th width="300">
									规则
								</th>
								<th width="300">
									时间
								</th>
								
								<th width="100">
									操作
								</th>
								<th width="100">
									操作
								</th>
							</tr>
						</thead>
						<tbody>
							<s:iterator value="list">
								<tr>
									<td>
										<input type="checkbox" value="<s:property value="id"/>">
									</td>
									<td align="center">
										<s:property  value="rule"/>
									</td >
									<td align="center">
										<s:property  value="time"/>
									</td>
<!-- 									<td>
										<s:if test="status=='未使用'">
											<a href="<%=path%>/ljkzzxtgl/ljkzzxtglInfo.action?type=send&id=<s:property value="id"/>">开启</a>
										</s:if>
										<s:elseif test="status=='已使用'">
											<a href="<%=path%>/ljkzzxtgl/ljkzzxtglInfo.action?type=close&id=<s:property value="id"/>">关闭</a>
										</s:elseif>
									</td>
 -->									
									<td align="center">
										&nbsp;
										<a
											href="<%=path%>/ljkzzxt/ljkzzxtInfo.action?type=delete&ids=<s:property value="id"/>">删除</a>&nbsp;&nbsp;
										&nbsp;									
									</td>
									<td align="center" >
					                    &nbsp;
										<a
											href="<%=path%>/ljkzzxt/ljkzzxtInfo.action?type=to_update&id=${id}">修改</a>&nbsp;&nbsp;
										&nbsp;							
									</td>
									
								</tr>
							</s:iterator>
							
						</tbody>
					</table>
				</form>
			</div>
			<jsp:include page="/part/element/list_bottom.jsp"></jsp:include>
		</div>
	</body>
	<script>
	function deleteEntity(id){
		var str="是否确认删除该监测点?";
		if(window.confirm(str))
		{
		     location.replace("/DisasterDetail/input/jcd/jcdInfo.do?type=delete&id="+id);
		}
		else
		{
		}
	}
	</script>

</html>

